var express = require('express');
var bodyParser = require("body-parser");
var coreRouter = require('./routes/core');
// var fileRouter = require('./routes/file');

var app = express();
app.use(bodyParser.json()); // for parsing application/json
app.use(bodyParser.urlencoded({extended: true})); // for parsing application/x-www-form-urlencoded

// app.use('/file', fileRouter);
app.use('/cors', coreRouter);

module.exports = app;